IHipInputMap.AxisContext

Undocumented in source.
interface IHipInputMap
struct AxisContext {}

Members

Variables

axis
ubyte axis;

Holds whether this controls the X, Y or Z axis. May also hold which analog stick, either the left or right on it, if that happens, it can't hold a key, value nor button. Then, also hold which axis from the analog is being mapped

btn
HipGamepadButton btn;

Holds which gamepad button holds the value specified

key
char key;

A keyboard key

value
byte value;

Value ranging from byte.min - byte.max A float value is usually specified on input mapping, between 1.0 and -1.0 This value is then scaled by 127

Meta